package com.xingkeduo.business.user.feign;

import com.xingkeduo.pojo.dto.ResponseMessage;
import com.xingkeduo.util.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description:
 * @Author:gaozifeng
 * @Date 2019/6/12 10:27
 **/
@FeignClient(value = "business-workpad", configuration = FeignConfig.class)
public interface WorkpadFeignService {

    /**
     * 发型师价格，服务技能，生效/失效 更改通知
     *
     * @param staffId:
     * @return : java.lang.String
     * @author : gaozifeng
     * @date : 2019/6/12 10:23
     */
    @GetMapping("/staff/stock/receiveStaffId")
    ResponseMessage receiveStaffId(@RequestParam(value = "staffId") Long staffId);
}
